package retrofit2.spring.annotation;

import java.lang.annotation.*;

/**
 * RetrofitClient
 * <p>
 * 标识的接口才会被扫描注入
 *
 * @author archx
 * @since 2020/7/2 11:07
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RetrofitClient {

    /**
     * 接口实列名称
     *
     * @return alias
     * @see org.springframework.beans.factory.annotation.Qualifier
     */
    String value() default "";
}
